<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<meta name="generator" content="JsDoc Toolkit" />
		
		<title>JsDoc Reference - smtAuxFn</title>

		<style type="text/css">
			/* default.css */
body
{
	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
	width: 800px;
}

.header
{
	clear: both;
	background-color: #ccc;
	padding: 8px;
}

h1
{
	font-size: 150%;
	font-weight: bold;
	padding: 0;
	margin: 1em 0 0 .3em;
}

hr
{
	border: none 0;
	border-top: 1px solid #7F8FB1;
	height: 1px;
}

pre.code
{
	display: block;
	padding: 8px;
	border: 1px dashed #ccc;
}

#index
{
	margin-top: 24px;
	float: left;
	width: 160px;
	position: absolute;
	left: 8px;
	background-color: #F3F3F3;
	padding: 8px;
}

#content
{
	margin-left: 190px;
	width: 600px;
}

.classList
{
	list-style-type: none;
	padding: 0;
	margin: 0 0 0 8px;
	font-family: arial, sans-serif;
	font-size: 1em;
	overflow: auto;
}

.classList li
{
	padding: 0;
	margin: 0 0 8px 0;
}

.summaryTable { width: 100%; }

h1.classTitle
{
	font-size:170%;
	line-height:130%;
}

h2 { font-size: 110%; }
caption, div.sectionTitle
{
	background-color: #7F8FB1;
	color: #fff;
	font-size:130%;
	text-align: left;
	padding: 2px 6px 2px 6px;
	border: 1px #7F8FB1 solid;
}

div.sectionTitle { margin-bottom: 8px; }
.summaryTable thead { display: none; }

.summaryTable td
{
	vertical-align: top;
	padding: 4px;
	border-bottom: 1px #7F8FB1 solid;
	border-right: 1px #7F8FB1 solid;
}

/*col#summaryAttributes {}*/
.summaryTable td.attributes
{
	border-left: 1px #7F8FB1 solid;
	width: 140px;
	text-align: right;
}

td.attributes, .fixedFont
{
	line-height: 15px;
	color: #002EBE;
	font-family: "Courier New",Courier,monospace;
	font-size: 13px;
}

.summaryTable td.nameDescription
{
	text-align: left;
	font-size: 13px;
	line-height: 15px;
}

.summaryTable td.nameDescription, .description
{
	line-height: 15px;
	padding: 4px;
	padding-left: 4px;
}

.summaryTable { margin-bottom: 8px; }

ul.inheritsList
{
	list-style: square;
	margin-left: 20px;
	padding-left: 0;
}

.detailList {
	margin-left: 20px; 
	line-height: 15px;
}
.detailList dt { margin-left: 20px; }

.detailList .heading
{
	font-weight: bold;
	padding-bottom: 6px;
	margin-left: 0;
}

.light, td.attributes, .light a:link, .light a:visited
{
	color: #777;
	font-style: italic;
}

.fineprint
{
	text-align: right;
	font-size: 10px;
}
		</style>
	</head>

	<body>
<!-- ============================== header ================================= -->	
		<!-- begin static/header.html -->
		<div id="header">
</div>
		<!-- end static/header.html -->

<!-- ============================== classes index ============================ -->
		<div id="index">
			<!-- begin publish.classesIndex -->
			<div align="center"><a href="../index.html">Class Index</a>
| <a href="../files.html">File Index</a></div>
<hr />
<h2>Classes</h2>
<ul class="classList">
	
	<li><i><a href="../symbols/_global_.html">_global_</a></i></li>
	
	<li><a href="../symbols/smtAuxFn.html">smtAuxFn</a></li>
	
	<li><a href="../symbols/smtRecord.html">smtRecord</a></li>
	
	<li><a href="../symbols/smtReplay.html">smtReplay</a></li>
	
</ul>
<hr />
			<!-- end publish.classesIndex -->
		</div>
		
		<div id="content">
<!-- ============================== class title ============================ -->
			<h1 class="classTitle">
				
				Class smtAuxFn
			</h1>

<!-- ============================== class summary ========================== -->			
			<p class="description">
				
			
				smt2-aux
				
				
					<br /><i>Defined in: </i> <a href="../symbols/src/J__AppServ_www_smt2_core_js_src_smt-aux-2.0.0.js.html">smt-aux-2.0.0.js</a>.
				
			</p>

<!-- ============================== constructor summary ==================== -->			
			
			<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class smtAuxFn.">
				<caption>Class Summary</caption>
				<thead>
					<tr>
						<th scope="col">Constructor Attributes</th>
						<th scope="col">Constructor Name and Description</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td class="attributes">&nbsp;</td>
						<td class="nameDescription" >
							<div class="fixedFont">
								<b><a href="../symbols/smtAuxFn.html#constructor">smtAuxFn</a></b>()
							</div>
							<div class="description">(smt)2 simple mouse tracking - auxiliary functions (smt-aux-2.0.0.js)Copyleft (cc) 2006-2009 Luis LeivaRelease date: September 12th 2009http://smt.speedzinemedia.com</div>
						</td>
					</tr>
				</tbody>
			</table>
			

<!-- ============================== properties summary ===================== -->
			
				
				
				<table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class smtAuxFn.">
					<caption>Field Summary</caption>
					<thead>
						<tr>
							<th scope="col">Field Attributes</th>
							<th scope="col">Field Name and Description</th>
						</tr>
					</thead>
					<tbody>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								smtAuxFn.<b><a href="../symbols/smtAuxFn.html#.array">array</a></b>
								</div>
								<div class="description">Array methods -- without extending the Array prototype (best practice).</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								smtAuxFn.<b><a href="../symbols/smtAuxFn.html#.browserDetect">browserDetect</a></b>
								</div>
								<div class="description">Browser detection object.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								smtAuxFn.<b><a href="../symbols/smtAuxFn.html#.cookies">cookies</a></b>
								</div>
								<div class="description">Cookies management object.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">
								smtAuxFn.<b><a href="../symbols/smtAuxFn.html#.widget">widget</a></b>
								</div>
								<div class="description">Core for tracking widgets.</div>
							</td>
						</tr>
					
					</tbody>
				</table>
				
				
				
			

<!-- ============================== methods summary ======================== -->
			
				
				
				<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class smtAuxFn.">
					<caption>Method Summary</caption>
					<thead>
						<tr>
							<th scope="col">Method Attributes</th>
							<th scope="col">Method Name and Description</th>
						</tr>
					</thead>
					<tbody>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">smtAuxFn.<b><a href="../symbols/smtAuxFn.html#.addEvent">addEvent</a></b>(obj, type, fn)
								</div>
								<div class="description">Adds event listeners unobtrusively.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">smtAuxFn.<b><a href="../symbols/smtAuxFn.html#.allowTrackingOnFlashObjects">allowTrackingOnFlashObjects</a></b>()
								</div>
								<div class="description">Allows recording/replaying the mouse path over Flash objects.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">smtAuxFn.<b><a href="../symbols/smtAuxFn.html#.createXMLHTTPObject">createXMLHTTPObject</a></b>()
								</div>
								<div class="description">Creates an XML/HTTP request to provide async communication with the server.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">smtAuxFn.<b><a href="../symbols/smtAuxFn.html#.doScroll">doScroll</a></b>(obj)
								</div>
								<div class="description">Scrolls the browser window.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">smtAuxFn.<b><a href="../symbols/smtAuxFn.html#.getDocumentSize">getDocumentSize</a></b>()
								</div>
								<div class="description">Gets the document's size.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">smtAuxFn.<b><a href="../symbols/smtAuxFn.html#.getHardcorePageSize">getHardcorePageSize</a></b>()
								</div>
								<div class="description">Failsafe function.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">smtAuxFn.<b><a href="../symbols/smtAuxFn.html#.getNextHighestDepth">getNextHighestDepth</a></b>(e)
								</div>
								<div class="description">Gets the max z-index level available on the page.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">smtAuxFn.<b><a href="../symbols/smtAuxFn.html#.getPageSize">getPageSize</a></b>()
								</div>
								<div class="description">Gets the max value from both window (viewport's size) and document's size, adding offsets.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">smtAuxFn.<b><a href="../symbols/smtAuxFn.html#.getWindowOffset">getWindowOffset</a></b>()
								</div>
								<div class="description">Gets the browser window's offsets.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">smtAuxFn.<b><a href="../symbols/smtAuxFn.html#.getWindowSize">getWindowSize</a></b>()
								</div>
								<div class="description">Gets the browser's window size (aka 'the viewport').</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">smtAuxFn.<b><a href="../symbols/smtAuxFn.html#.loadNextMouseTrail">loadNextMouseTrail</a></b>(smtData)
								</div>
								<div class="description">Loads more mouse trails for the current user, if available.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">smtAuxFn.<b><a href="../symbols/smtAuxFn.html#.log">log</a></b>(type, msg)
								</div>
								<div class="description">Traces a message in the debug console, if available.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">smtAuxFn.<b><a href="../symbols/smtAuxFn.html#.onDOMload">onDOMload</a></b>(callback)
								</div>
								<div class="description">Checks the DOM-ready initialization in modern browsers.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">smtAuxFn.<b><a href="../symbols/smtAuxFn.html#.overrideTrackingOptions">overrideTrackingOptions</a></b>(smtOptionsObj, customOptionsObj)
								</div>
								<div class="description">Overrides (smt) tracking options object with custom-provided options object</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">smtAuxFn.<b><a href="../symbols/smtAuxFn.html#.roundTo">roundTo</a></b>(number, digits)
								</div>
								<div class="description">Rounds a number to a given digits accuracy.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;static&gt; &nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont">smtAuxFn.<b><a href="../symbols/smtAuxFn.html#.sendAjaxRequest">sendAjaxRequest</a></b>(reqSetup)
								</div>
								<div class="description">Makes an asynchronous XMLHTTP request (XHR) via GET or POST.</div>
							</td>
						</tr>
					
					</tbody>
				</table>
				
				
				
			
<!-- ============================== events summary ======================== -->
			

<!-- ============================== constructor details ==================== -->		
			
			<div class="details"><a name="constructor"> </a>
				<div class="sectionTitle">
					Class Detail
				</div>
				
				<div class="fixedFont">
						<b>smtAuxFn</b>()
				</div>
				
				<div class="description">
					(smt)2 simple mouse tracking - auxiliary functions (smt-aux-2.0.0.js)Copyleft (cc) 2006-2009 Luis LeivaRelease date: September 12th 2009http://smt.speedzinemedia.com
					<br /><i>Author: </i>Luis Leiva.
				</div>
				
				
				
				
					
					
					
					
					
					
					

			</div>
			

<!-- ============================== field details ========================== -->		
			
				<div class="sectionTitle">
					Field Detail
				</div>
				
					<a name=".array"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">smtAuxFn.</span><b>array</b>
					
					</div>
					<div class="description">
						Array methods -- without extending the Array prototype (best practice). Note: These Array methods would only work for a completely 'dense' array. If you're working with sparse arrays, then you should pre-process them:<code>   var narray = [];  for (var i = 0; i < array.length; ++i) {    if (array[i] != null) { narray.push(array[i]); }  }  // now narray is converted in a 'dense' array</code>
						
						
					</div>
					
					

						
						
						
						

					<hr />
				
					<a name=".browserDetect"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">smtAuxFn.</span><b>browserDetect</b>
					
					</div>
					<div class="description">
						Browser detection object. This function is used only for browser stats.As its autor said:"The more this script is used, the less likely it is to stay current.In order to keep this script up-to-date you should use it as little as possible."
						
						
					</div>
					
					

						
						
						
						

					<hr />
				
					<a name=".cookies"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">smtAuxFn.</span><b>cookies</b>
					
					</div>
					<div class="description">
						Cookies management object.This cookies object allows you to store and retrieve cookies easily.Cookies can be picked up by any other web pages in the correct domain. Cookies are set to expire after a certain length of time.
						
						
					</div>
					
					

						
						
						
						

					<hr />
				
					<a name=".widget"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">smtAuxFn.</span><b>widget</b>
					
					</div>
					<div class="description">
						Core for tracking widgets.The word "widget" stands for *any* HTML DOM element on the page.This snippet was developed years ago as 'DOM4CSS', and now lives in harmony with (smt).
						
						
					</div>
					
					

						
						
						
						

					
				
			

<!-- ============================== method details ========================= -->		
			
				<div class="sectionTitle">
					Method Detail
				</div>
				
					<a name=".addEvent"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">smtAuxFn.</span><b>addEvent</b>(obj, type, fn)
					
					</div>
					<div class="description">
						Adds event listeners unobtrusively.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{object}</span> <b>obj</b>
									
								</dt>
								<dd>Object to add listener(s) to</dd>
							
								<dt>
									<span class="light fixedFont">{string}</span> <b>type</b>
									
								</dt>
								<dd>Event type</dd>
							
								<dt>
									<span class="light fixedFont">{function}</span> <b>fn</b>
									
								</dt>
								<dd>Function to execute</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd>void</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".allowTrackingOnFlashObjects"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">smtAuxFn.</span><b>allowTrackingOnFlashObjects</b>()
					
					</div>
					<div class="description">
						Allows recording/replaying the mouse path over Flash objects.A Flash movie may display above all the layers on the HTML apge, regardless of the stacking order ("z-index") of those layers.   Using a WMODE value of "opaque" or "transparent" will prevent a Flash movie from playing in the topmost layer and allow you to adjust the layering of the movie within other layers of the HTML document.However, to avoid possible performance issues, it's best use the "opaque" mode.   Note: The WMODE parameter is supported only on some browser/Flash Player version combinations. If the WMODE parameter is not supported, the Flash movie will always display on top.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd>void</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".createXMLHTTPObject"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{object}</span>
					<span class="light">smtAuxFn.</span><b>createXMLHTTPObject</b>()
					
					</div>
					<div class="description">
						Creates an XML/HTTP request to provide async communication with the server.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{object}</span> XHR object</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".doScroll"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">smtAuxFn.</span><b>doScroll</b>(obj)
					
					</div>
					<div class="description">
						Scrolls the browser window.This function is quite useful for replaying the user trails comfortably ;)
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{object}</span> <b>obj</b>
									
								</dt>
								<dd>Config object</dd>
							
								<dt>
									<span class="light fixedFont">{integer}</span> <b>obj.xpos</b>
									
								</dt>
								<dd>X coordinate</dd>
							
								<dt>
									<span class="light fixedFont">{integer}</span> <b>obj.ypos</b>
									
								</dt>
								<dd>Y coordinate</dd>
							
								<dt>
									<span class="light fixedFont">{integer}</span> <b>obj.width</b>
									
								</dt>
								<dd>Viewport width</dd>
							
								<dt>
									<span class="light fixedFont">{integer}</span> <b>obj.height</b>
									
								</dt>
								<dd>Viewport height</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd>void</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".getDocumentSize"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{object}</span>
					<span class="light">smtAuxFn.</span><b>getDocumentSize</b>()
					
					</div>
					<div class="description">
						Gets the document's size.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{object}</span> document dimmensions - object with 2 properties: width {integer}, and height {integer}</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".getHardcorePageSize"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{object}</span>
					<span class="light">smtAuxFn.</span><b>getHardcorePageSize</b>()
					
					</div>
					<div class="description">
						Failsafe function. If your pages' HTML code does not allocate the image's dimensions (width/height attributes),then the page size will not be accurately computed and the tracking layer can be cropped.This occurs sometimes due to the replaying script begins on DOM load.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{object}</span> viewport dimmensions object with 2 properties: width {integer}, and height {integer}</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".getNextHighestDepth"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{integer}</span>
					<span class="light">smtAuxFn.</span><b>getNextHighestDepth</b>(e)
					
					</div>
					<div class="description">
						Gets the max z-index level available on the page.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{object}</span> <b>e</b>
									
								</dt>
								<dd>DOM element (default: document)</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{integer}</span> z-index level</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".getPageSize"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{object}</span>
					<span class="light">smtAuxFn.</span><b>getPageSize</b>()
					
					</div>
					<div class="description">
						Gets the max value from both window (viewport's size) and document's size, adding offsets.MSHTML (Trident), Firefox (Gecko), Opera (Presto), and Safari (Webkit) support offsetHeight on document.body or on document.documentElement. The difficulty is figuring out which one is reliable, because it depends on the environment. As usual, the environment includes the browser, its version, and the rendering mode of the document.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{object}</span> viewport dimmensions object with 2 properties: width {integer}, and height {integer}</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".getWindowOffset"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{object}</span>
					<span class="light">smtAuxFn.</span><b>getWindowOffset</b>()
					
					</div>
					<div class="description">
						Gets the browser window's offsets.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{object}</span> window offsets - object with 2 properties: x {integer}, and y {integer}</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".getWindowSize"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{object}</span>
					<span class="light">smtAuxFn.</span><b>getWindowSize</b>()
					
					</div>
					<div class="description">
						Gets the browser's window size (aka 'the viewport').
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{object}</span> window dimmensions - object with 2 properties: width {integer}, and height {integer}</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".loadNextMouseTrail"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">smtAuxFn.</span><b>loadNextMouseTrail</b>(smtData)
					
					</div>
					<div class="description">
						Loads more mouse trails for the current user, if available.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{object}</span> <b>smtData</b>
									
								</dt>
								<dd>The user's data object</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd>void</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".log"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">smtAuxFn.</span><b>log</b>(type, msg)
					
					</div>
					<div class="description">
						Traces a message in the debug console, if available.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{string}</span> <b>type</b>
									
								</dt>
								<dd>message type: "log" (default), "info", or "error"</dd>
							
								<dt>
									<span class="light fixedFont">{mixed}</span> <b>msg</b>
									
								</dt>
								<dd>message text (anything to trace)</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd>void</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".onDOMload"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">smtAuxFn.</span><b>onDOMload</b>(callback)
					
					</div>
					<div class="description">
						Checks the DOM-ready initialization in modern browsers.This method was introduced by Dean Edwards/Matthias Miller/John Resig (dean.edwards.name/outofhanwell.com/jquery.com)and it is discussed in http://dean.edwards.name/weblog/2006/06/again/It's 2009, and fortunately nowadays there are only 2 types of modern browsers: W3C standards and Internet Explorer.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{function}</span> <b>callback</b>
									
								</dt>
								<dd>the function to be called on DOM load</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd>void</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".overrideTrackingOptions"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">smtAuxFn.</span><b>overrideTrackingOptions</b>(smtOptionsObj, customOptionsObj)
					
					</div>
					<div class="description">
						Overrides (smt) tracking options object with custom-provided options object
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{object}</span> <b>smtOptionsObj</b>
									
								</dt>
								<dd></dd>
							
								<dt>
									<span class="light fixedFont">{object}</span> <b>customOptionsObj</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd>void</dd>
							
							</dl>
						
						
						
							<dl class="detailList">
							<dt class="heading">See:</dt>
							
								<dd><code>smtOpt</code> object either in <code>smtRecord</code> or <code>smtReplay</code> classes</dd>
							
							</dl>
						

					<hr />
				
					<a name=".roundTo"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					<span class="light">{float}</span>
					<span class="light">smtAuxFn.</span><b>roundTo</b>(number, digits)
					
					</div>
					<div class="description">
						Rounds a number to a given digits accuracy.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{float}</span> <b>number</b>
									
								</dt>
								<dd>input number</dd>
							
								<dt>
									<span class="light fixedFont">{integer}</span> <b>digits</b>
									
								</dt>
								<dd>precision digits</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{float}</span> </dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name=".sendAjaxRequest"> </a>
					<div class="fixedFont">&lt;static&gt; 
					
					
					<span class="light">smtAuxFn.</span><b>sendAjaxRequest</b>(reqSetup)
					
					</div>
					<div class="description">
						Makes an asynchronous XMLHTTP request (XHR) via GET or POST.Inspired on Peter-Paul Koch's XMLHttpRequest function.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{object}</span> <b>reqSetup</b>
									
								</dt>
								<dd>Request properties</dd>
							
								<dt>
									<span class="light fixedFont">{string}</span> <b>reqSetup.url</b>
									
								</dt>
								<dd>Request URL</dd>
							
								<dt>
									<span class="light fixedFont">{function}</span> <b>reqSetup.callback</b>
									<i>Optional</i>
								</dt>
								<dd>Response function</dd>
							
								<dt>
									<span class="light fixedFont">{string}</span> <b>reqSetup.postdata</b>
									<i>Optional</i>
								</dt>
								<dd>POST vars in the form "var1=name&var2=name..."</dd>
							
								<dt>
									<span class="light fixedFont">{object}</span> <b>reqSetup.xmlhttp</b>
									<i>Optional</i>
								</dt>
								<dd>A previous XMLHTTP object can be reused</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd>void</dd>
							
							</dl>
						
						
						

					
				
			
			
<!-- ============================== event details ========================= -->		
			
			
			<hr />
		</div>

		
<!-- ============================== footer ================================= -->
		<div class="fineprint" style="clear:both">
			
			Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.3.0 on Sat Sep 12 2009 13:52:09 GMT+0200 (CEST)
		</div>
	</body>
</html>
